home *** CD-ROM | disk | FTP | other *** search
- Path: news1.erols.com!newsmaster@erols.com
- From: Chris Cobb <ccobb@cseg.com>
- Newsgroups: comp.lang.c++
- Subject: Re: compile in a way to get smaller a.out? include less???
- Date: 17 Mar 1996 18:03:12 GMT
- Organization: CSEG, Inc.
- Message-ID: <4ihk50$41c@news5.erols.com>
- References: <4ifovo$pem@math.rutgers.edu>
- NNTP-Posting-Host: ccobb.erols.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22KIT (Windows; U; 16bit)
-
- lukeh@math.rutgers.edu (Luke Higgins) wrote:
- >
- >I am brand new to C++ (and fairly new to C even.) I write a 4 line
- >"hello world" program using iostream.h and my a.out is 408k! Is there
- >anyway to get the compiler to just include what it needs to instead of
- >the whole iostream.h?
- >
-
- Some compilers allow you to skip the normal startup code which opens
- stdout, et al. However, you would then be required to make direct OS
- calls and your code would be completely platform dependent. Check your
- compiler documentation about C/C++ runtime support.
-
- Chris
-
-
-